const proxy = require('http-proxy-middleware');

module.exports = function (app) {
    app.use(proxy('/api_rym', {
        target: 'http://0.0.0.0:9990/',
        secure: false,
        changeOrigin: true,
        pathRewrite: {
            "^/api_rym": "/"
        }
    }))
};
